package com.shop.dao;

import com.shop.entity.HistoryEntity;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author wzby
 * @date 2022-12-02 13:24:15
 */
@Mapper
public interface HistoryMapper {

    @Insert(" insert member_coins_history" +
            "(memberId,optionType,optionQty,qty0,qty1,brief,createTime,createBy,refId) " +
            "values (#{memberId},#{optionType},#{optionQty},#{qty0},#{qty1},#{brief},#{createTime},#{createBy},#{refId})")
    Integer insert(HistoryEntity entity);

}
